<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单：表单元素</title>
</head>
<body>
<!--在主题中写表单，其中嵌套table语句-->
<form action="#" method="post">
    <font face="楷体" color="aqua" size="+4">填写用户注册信息</font>
<table align="center" width="99%" border="1" cellpadding="1">
    <!--第一行信息-->
    <tr>
    <td>用户名：</td>
    <td><input type="text" name="username" id="username"></td>
    <td>登录用户名</td>
    </tr>
    <tr>
        <td>密码：</td>
        <td><input type="text" name="passwords" id="passwords"></td>
        <td>输入登录密码</td>
    </tr>
    <tr>
        <td>注册邮箱：</td>
        <td><input type="email" name="email" id="email"></td>
        <td>录入后不得更改</td>
    </tr>
    <tr>
        <td>出生年月：</td>
        <td>
            <select name="userBirthYear" id="userBirthYear">
                <option></option>
                <option value="1995">1995</option>
                <option value="1996">1996</option>
                <option value="1997">1997</option>
                <option value="1998">1998</option>
                <option value="1999">1999</option>
                <option value="2000">2000</option>
            </select>
            <select name="userBirthMonth" id="userBirthMonth">
                <option></option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
            </select>
        </td>
        <td>选择您的出生年月</td>
    </tr>
    <tr>
        <td>性别</td>
        <!--注意：选择性别是将name设置为雅漾的名字时，只可以选择一个-->
        <td>
            <input type="radio" name="uesrsex" id="usersex" value="male">男
            <input type="radio" name="uesrsex" id="usersex2" value="female">女
        </td>
        <td>选择您的性别</td>
    </tr>
    <tr>
        <td>兴趣标签</td>
        <td>
            <input type="checkbox" name="hobby1" id="hobby1">游戏
            <input type="checkbox" name="hobby2" id="hobby2">吃饭
            <input type="checkbox" name="hobby3" id="hobby3">音乐
            <input type="checkbox" name="hobby4" id="hobby4">体育
            <input type="checkbox" name="hobby5" id="hobby5">新闻
            <input type="checkbox" name="hobby6" id="hobby6">看电影

        </td>
        <td>选择您的兴趣标签，可多选</td>
    </tr>
    <tr>
        <td>头像：</td>
        <td><input type="file" name="userimg" id="userimg"></td>
        <td>选择您的头像</td>
    </tr>
    <tr>
        <td>个人简介：</td>
        <td>
            <textarea name="somewords" id="somewords" rows="5" cols="50"></textarea>
        </td>
        <td>添加您的个人简介</td>
    </tr>
    <tr>
        <td><input type="submit" name="submit" id="submit"></td>
        <td><input type="reset" name="reset" id="reset"> </td>
        <td><font face="华文彩云" color="red" size="+5"></font>免费注册</td>
    </tr>
</table>
</form>
</body>
</html>